﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Identitycore.Models
{
    public class CUser
    {
        [Key]
        public long ID { get; set; }

        [Required]
        [MinLength(3)]
        [MaxLength(22)]
        [DisplayName("登陆用户")]
        public string Uname { get; set; }
        [Required]
        [MinLength(6)]
        [DisplayName("登陆密码")]
        public string UPass { get; set; }
    }
}
